cmake_minimum_required(VERSION 3.20.0)

# create compile_commands.json
set(CMAKE_EXPORT_COMPILE_COMMANDS on)

find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(spi_nandflash_mx35)

add_subdirectory(src/drivers)

target_sources(app PRIVATE src/main.c)
